<!DOCTYPE html>
            
<HTML>
<HEAD>
<meta name="booktitle" content="Developing Applications With Objective Caml" >
 <meta charset="ISO-8859-1"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<META name="GENERATOR" content="hevea 1.05-7 of 2000-02-24">
<META NAME="Author" CONTENT="Christian.Queinnec@lip6.fr">
<LINK rel=stylesheet type="text/css" href="videoc-ocda.css">
<script language="JavaScript" src="videoc.js"><!--
//--></script>
<TITLE>
 Introduction
</TITLE>
</HEAD>
<BODY class="regularBody">
<A HREF="book-ora191.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
<A HREF="book-ora194.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2> Introduction</H2>The first application is really a toolbox to facilitate the construction of
client-server applications which transmit Objective CAML values. To build an
application using the toolbox, one need only implement serialization
functions for the values to be transmitted, then apply a functor to obtain
an abstract class for the server, then add the application's processing
function by means of inheritance.<BR>
<BR>
The second application revisits the robot simulation, presented on page
<A HREF="book-ora161.html#app-robot">??</A>, and adapts it to the client-server model. The server
represents the world in which the robot clients move around. We thus simulate
distributed memory shared by a group of clients possibly located on various
machines on the network.<BR>
<BR>
The third application is an implementation of some small HTTP servers (called
servlets). A server knows how to respond to an HTTP request such as
a request to retrieve an HTML page. Moreover, it is possible to pass values
in these requests using the CGI format of HTTP servers. We will use this
functionality right away to construct a server for requests on the association
database, described on page <A HREF="book-ora057.html#sec-gestassoc">??</A>. As a client, we will use
a Web browser to which we will send an initial page containing the query form.<BR>
<BR>
<HR>
<A HREF="book-ora191.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
<A HREF="book-ora194.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
